//
//  City.m
//  省市区--解析为JSON格式
//
//  Created by mafeng on 16/7/11.
//  Copyright © 2016年 mafeng. All rights reserved.
//

#import "City.h"

@implementation City
- (instancetype)initWithName:(NSString *)name number:(NSString *)cityNumber {
    self = [super initWithName:name number:cityNumber];
    if (self) {
        _zoneArray = [NSMutableArray array];
    }
    return self;
}
+ (instancetype)cityWithCityName:(NSString *)name {
    return [[City alloc] initWithName:name];
}
- (NSString *)description
{
    return [NSString stringWithFormat:@"%@%@%@", self.name, self.number, self.zoneArray];
}
@end
